<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>票易信息管理系统</title>
<link rel="stylesheet" href="/css/admin.css" type="text/css"/>
<script type="text/javascript" src="/js/jquery-1.6.1.min.js"></script>
</head>
<body leftmargin="2" topmargin="2">
 <fieldset><legend>用户信息</legend>
 <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
  <COLGROUP>
  <COL width="100" />
  <COL width="*" />
    <tr class="tdbg2"> 
      <td align="right" >用 户 名：</td>
      <td><s:property value="userInfo.account" /></td>
    </tr>
    <tr class="tdbg2"> 
      <td align="right" >手 机 号：</td>
      <td><s:property value="userInfo.mobile" /></td>
    </tr>
    <tr class="tdbg2"> 
      <td align="right" >注册时间：</td>
      <td><s:date name="userInfo.regTime" format="yyyy-MM-dd HH:mm"/></td>
    </tr>
    <tr class="tdbg2"> 
      <td align="right" >最后登陆时间：</td>
      <td><s:date name="userInfo.lastLoginTime" format="yyyy-MM-dd HH:mm"/></td>
    </tr>
    <tr class="tdbg2"> 
      <td align="right" >最后登陆IP：</td>
      <td><s:property value="userInfo.lastLoginIP" /></td>
    </tr>
    <tr class="tdbg2"> 
      <td align="right" >认证状态：</td>
      <td>
	      <s:if test="userInfo.validated==0">
	      	未激活 |
	      </s:if>
	      <s:else>
	      	<a href="admin_userinfo.action?action=validated&id=<s:property value="userInfo.id" />&validated=0">未激活</a> |
	      </s:else>
	      <s:if test="userInfo.validated==1">
	      	激活 |
	      </s:if>
	      <s:else>
	      	<a href="admin_userinfo.action?action=validated&id=<s:property value="userInfo.id" />&validated=1">激活</a> |
	      </s:else>
	      <s:if test="userInfo.validated==2">
	      	禁用 | 
	      </s:if>
	      <s:else>
	      	<a href="admin_userinfo.action?action=validated&id=<s:property value="userInfo.id" />&validated=2">禁用</a> |
	      </s:else>
      </td>
    </tr>
</table></fieldset>
</body>
</html>
